#pragma	once

#include "ZNetworkCommon.h"
#include "ZSerializable.h"

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
class	GameMessage
	:	public Serializable
{
public:
	NetworkId	getNetworkId()	const	{	return mNetworkId;		}
protected:
	GameMessage()	:	mNetworkId(0)	{
	}
	explicit	GameMessage(NetworkId kNetworkId)	:	mNetworkId(kNetworkId)	{
	}

private:
	NetworkId	mNetworkId;
};

typedef	size_t	GameMessageId;

}